home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Essentials
/
C++ A'Link Files
/
Mar 91
/
CPlus.Dev$ 3⁄1⁄91
/
0280-Re Ellipses-Feb91
next >
Wrap
Text File
|
1991-04-01
|
924b
|
22 lines
Item 1842732 25-Feb-91 14:31PST
From: TURK Turkowski, Ken
To: U0922 NYU Medical Ctr, Martin Nachbar,HEP
CPLUS.DEV$ C++ Interest List--Developers
------------------------------------------------------------------------------
Sub: Re: Ellipses
Our group also does cross development between the Mac and the Iris. I had the
same problems that you had, and the upshot is that SGI does not support
stdarg.h; they instead use vararg.h. Try #ifdef sgi, and use varargs for the
Iris, and stdargs for everything else.
----------------------------------------------------------------------------
The declaration:
void error(const char *fmt ...)
and the use of <stdarg.h> works splendidly for char and int data; however,
pass a float, and you'll see all sorts of garbage (the SGI will crash).